import request from '@/utils/request'
export function list(params,type) {
    return request({
        url: '/app/favor/list',
        method: 'get',
        params: params,
		type:type
    })
}

export function save(data) {
    return request({
        url: '/app/favor/save',
        method: 'post',
        data: data
    })
}

export function relationDel(params) {
    return request({
        url: '/app/favor/relationDel',
        method: 'delete',
        params: params
    })
}